package com.xuliugen.security.core.properties.validate;

/**
 * 图形验证码和短信验证码的基类信息
 * Created by xuliugen on 2017/11/7.
 */
public class CodeProperties {

    /**
     * 验证码数字长度
     */
    private int length = 6;

    /**
     * 验证码失效时间
     */
    private int expireIn = 60;

    /**
     * 需要进行校验的url地址
     */
    private String url;

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getExpireIn() {
        return expireIn;
    }

    public void setExpireIn(int expireIn) {
        this.expireIn = expireIn;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
